package com.bigShen.pattern.strategy.pay;

/**
 * @author: lei.shen
 * @date: 2018/10/5
 */
public class PayState {

    private String code;

    private String msg;

    private Object data;

    public PayState(String code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    @Override
    public String toString() {
        return "订单状态[" + code + "] " + msg + ", 订单详情: " + data;
    }

}
